<div class="list-content">
	<div class="list-left">
		<div class="tiao"></div>
		<div class="mb-nav">
			  <a href="<?=INDEX_PATH?>">首页</a> > <?=$this->catename ?>
		   </div>
		   <div class="tiao"></div>
		<?php
		if($this->articles == null || empty($this->articles)){
			echo "<h3>未找到相关文章。</h3>";
		}
		else
			foreach ($this->articles as $article) {?>
		  <div class="normal-list">
			  <img style="width:20px; height:25px" src="<?=RES_PATH?>/imgs/default/article_ico.png"/>
			  <h3><a href="<?=INDEX_PATH?>/Index/detail/id/<?=$article['id'] ?>"><?=$article['title'] ?></a></h3>
			  <div class="list-msg">
				<span>时间：<?=date("Y年m月d日",$article['posttime']); ?></span>
				<span>点击：<?=$article['viewnum'] ?></span>
			  </div>
              <p></p>
		  </div>
		<?php }?>

		<div class="pagebar">

		</div>

	</div>


	<div class="list-right">
		<!--
		<div class="right-right">
			    <div class="right-t">
					<span>推荐阅读</span>
			    </div>
				<div class="right-tui-c">
					<div class="right-tui-img">
		                <a href=""><img src=""  alt="">
		                <h3></h3>
		                </a>
	                </div>
				</div>
		   </div>
		   -->
		   <div class="right-right">
			   <div class="right-t">
				   <span>热门阅读</span>
			   </div>
			   <?php require_once APPLICATION_PATH.'/common/functions.php';?>
			   <?php
			   foreach($this->recommendArts as $rmdart){?>
				   <div class="right-hot-c">
					   <ul>
						   <li>
							   <a href="<?=INDEX_PATH?>/Index/detail/id/<?=$rmdart['id'] ?>">
								   <h3><?=$rmdart['title'] ?></h3>
								   <img src="<?=catch_first_image($rmdart['content']) ?>" alt="<?=$rmdart['title'] ?>">
							   </a>
						   <p><?=get_article_abstract($rmdart['content']) ?></p>
						   </li>

					   </ul>
				   </div>
			   <?php }?>
		   </div>
	</div>


</div>
